package org.yellow.backend.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 专家表
 * @author: hy
 * @create: 2024-01-01
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "doctors")
public class doctor {
    @TableId(type = IdType.AUTO)
    private Long DoctorId;
    private Long DepartmentId;
    private String UserName;
    private String password;
    private String Name;
    private String Specialization;
    private String ContactNumber;
    private String AppointmentTime;  // 可预约时间段

}
